- 
		Home
	
 
	- 
Wallet System for WooCommerce – Digital Wallet, Buy Now Pay Later (BNPL), Instant Cashback, Referral program, Partial & Subscription Payments
 
- 
2.7.0
 
- 
Code
 
- 
Classes
 
-  Cpdf 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											929 | 
										
																			
											| Dependencies | 
											9 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											6,439 | 
										
																			
											| Lines of code | 
											3,667 | 
										
																			
											| Logical lines of code | 
											2,496 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											1,630 | 
										
																			
											| Methods | 
											134 | 
										
																			
											| Properties | 
											60 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 134
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| openFont() | 
									D  | 
																	19  | 
													70 | 
													173 | 
							
					
				| addPngFromBuf() | 
									D  | 
																	22  | 
													50 | 
													184 | 
							
					
				| processFont() | 
									D  | 
																	20  | 
													47 | 
													201 | 
							
					
				| o_pages() | 
									D  | 
																	30 | 
													38 | 
													109 | 
							
					
				| o_viewerPreferences() | 
									D  | 
																	34 | 
													33 | 
													80 | 
							
					
				| o_font() | 
									C  | 
																	31 | 
													28 | 
													111 | 
							
					
				| o_image() | 
									C  | 
																	31 | 
													22 | 
													107 | 
							
					
				| o_fontDescriptor() | 
									B  | 
																	41 | 
													24 | 
													47 | 
							
					
				| o_field() | 
									B  | 
																	36 | 
													21 | 
													76 | 
							
					
				| o_xobject() | 
									B  | 
																	36 | 
													20 | 
													75 | 
							
					
				| o_page() | 
									B  | 
																	36 | 
													18 | 
													80 | 
							
					
				| o_sig() | 
									B  | 
																	34 | 
													18 | 
													80 | 
							
					
				| addImagePngAlpha() | 
									B  | 
																	32 | 
													15 | 
													111 | 
							
					
				| getTextWidth() | 
									B  | 
																	40 | 
													18 | 
													59 | 
							
					
				| o_catalog() | 
									B  | 
																	41 | 
													18 | 
													54 | 
							
					
				| selectFont() | 
									B  | 
																	41 | 
													18 | 
													53 | 
							
					
				| addText() | 
									B  | 
																	35 | 
													16 | 
													83 | 
							
					
				| o_fontDescendentCID() | 
									B  | 
																	39 | 
													17 | 
													59 | 
							
					
				| o_info() | 
									B  | 
																	43 | 
													17 | 
													47 | 
							
					
				| o_contents() | 
									A  | 
																	43 | 
													14 | 
													44 | 
							
					
				| ellipse() | 
									A  | 
																	39 | 
													12 | 
													69 | 
							
					
				| utf8toCodePointsArray() | 
									A  | 
																	43 | 
													13 | 
													48 | 
							
					
				| output() | 
									A  | 
																	40 | 
													12 | 
													59 | 
							
					
				| addObject() | 
									A  | 
																	47 | 
													13 | 
													36 | 
							
					
				| transaction() | 
									A  | 
																	47 | 
													12 | 
													38 | 
							
					
				| o_fontGIDtoCIDMap() | 
									A  | 
																	46 | 
													12 | 
													36 | 
							
					
				| o_acroform() | 
									A  | 
																	44 | 
													11 | 
													45 | 
							
					
				| o_destination() | 
									A  | 
																	49 | 
													11 | 
													29 | 
							
					
				| o_action() | 
									A  | 
																	46 | 
													10 | 
													39 | 
							
					
				| o_encryption() | 
									A  | 
																	39 | 
													8 | 
													62 | 
							
					
				| o_annotation() | 
									A  | 
																	44 | 
													9 | 
													45 | 
							
					
				| addPngFromFile() | 
									A  | 
																	44 | 
													9 | 
													41 | 
							
					
				| o_names() | 
									A  | 
																	47 | 
													9 | 
													35 | 
							
					
				| newPage() | 
									A  | 
																	49 | 
													9 | 
													30 | 
							
					
				| o_procset() | 
									A  | 
																	49 | 
													9 | 
													29 | 
							
					
				| addImagePng() | 
									A  | 
																	49 | 
													9 | 
													29 | 
							
					
				| o_fontEncoding() | 
									A  | 
																	48 | 
													8 | 
													31 | 
							
					
				| addJpegFromFile() | 
									A  | 
																	49 | 
													8 | 
													31 | 
							
					
				| o_outlines() | 
									S  | 
																	51 | 
													7 | 
													26 | 
							
					
				| o_embedded_file() | 
									S  | 
																	46 | 
													6 | 
													37 | 
							
					
				| setEncryption() | 
									S  | 
																	54 | 
													7 | 
													20 | 
							
					
				| o_extGState() | 
									S  | 
																	43 | 
													5 | 
													49 | 
							
					
				| o_toUnicode() | 
									S  | 
																	46 | 
													5 | 
													46 | 
							
					
				| stream() | 
									S  | 
																	50 | 
													6 | 
													25 | 
							
					
				| o_indirect_references() | 
									S  | 
																	52 | 
													6 | 
													23 | 
							
					
				| filterText() | 
									S  | 
																	56 | 
													6 | 
													16 | 
							
					
				| setColor() | 
									S  | 
																	58 | 
													6 | 
													15 | 
							
					
				| setStrokeColor() | 
									S  | 
																	58 | 
													6 | 
													15 | 
							
					
				| o_cidSystemInfo() | 
									S  | 
																	51 | 
													5 | 
													27 | 
							
					
				| ARC4_init() | 
									S  | 
																	54 | 
													5 | 
													21 | 
							
					
				| setLineStyle() | 
									S  | 
																	54 | 
													5 | 
													19 | 
							
					
				| utf8toUtf16BE() | 
									S  | 
																	56 | 
													5 | 
													17 | 
							
					
				| setLineTransparency() | 
									S  | 
																	50 | 
													4 | 
													31 | 
							
					
				| setFillTransparency() | 
									S  | 
																	50 | 
													4 | 
													31 | 
							
					
				| setFontFamily() | 
									S  | 
																	51 | 
													4 | 
													31 | 
							
					
				| getFontHeight() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| o_embedded_file_dictionary() | 
									S  | 
																	50 | 
													4 | 
													28 | 
							
					
				| o_javascript() | 
									S  | 
																	53 | 
													4 | 
													22 | 
							
					
				| o_embedjs() | 
									S  | 
																	54 | 
													4 | 
													21 | 
							
					
				| addJpegImage_common() | 
									S  | 
																	49 | 
													3 | 
													32 | 
							
					
				| registerText() | 
									S  | 
																	62 | 
													4 | 
													11 | 
							
					
				| getFontSubsettingTag() | 
									S  | 
																	59 | 
													3 | 
													12 | 
							
					
				| getFontXHeight() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	61 | 
													3 | 
													11 | 
							
					
				| polygon() | 
									S  | 
																	62 | 
													3 | 
													11 | 
							
					
				| addFormField() | 
									S  | 
																	52 | 
													2 | 
													22 | 
							
					
				| ARC4() | 
									S  | 
																	57 | 
													2 | 
													17 | 
							
					
				| saveState() | 
									S  | 
																	58 | 
													2 | 
													16 | 
							
					
				| encryptInit() | 
									S  | 
																	58 | 
													2 | 
													15 | 
							
					
				| setFormFieldAppearance() | 
									S  | 
																	63 | 
													3 | 
													10 | 
							
					
				| addInfo() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| setPreferences() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| restoreState() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| newDocument() | 
									S  | 
																	57 | 
													1 | 
													19 | 
							
					
				| md5_16() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| setFillRule() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| setGraphicsState() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| line() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| fill() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| fillStroke() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| setXObjectResource() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| addForm() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| rotate() | 
									S  | 
																	59 | 
													1 | 
													15 | 
							
					
				| getFontDescender() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| concatMatches() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| reopenObject() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| closeObject() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| stopObject() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| serializeObject() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getBytes() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| clippingRectangleRounded() | 
									S  | 
																	58 | 
													1 | 
													14 | 
							
					
				| skew() | 
									S  | 
																	60 | 
													1 | 
													14 | 
							
					
				| addSignature() | 
									S  | 
																	60 | 
													1 | 
													13 | 
							
					
				| scale() | 
									S  | 
																	62 | 
													1 | 
													12 | 
							
					
				| addEmbeddedFile() | 
									S  | 
																	63 | 
													1 | 
													12 | 
							
					
				| translate() | 
									S  | 
																	65 | 
													1 | 
													11 | 
							
					
				| addLink() | 
									S  | 
																	70 | 
													1 | 
													5 | 
							
					
				| addInternalLink() | 
									S  | 
																	70 | 
													1 | 
													5 | 
							
					
				| checkAllHere() | 
									S  | 
																	100 | 
													1 | 
													2 | 
							
					
				| setCurrentFont() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| getFirstPageId() | 
									S  | 
																	83 | 
													1 | 
													3 | 
							
					
				| addContent() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| curve() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| partEllipse() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| filledEllipse() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| lineTo() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| moveTo() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| curveTo() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| quadTo() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| closePath() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| endPath() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| filledRectangle() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| rectangle() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| rect() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| stroke() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| addXObject() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| setFormFieldValue() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| setFormFieldRefValue() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| setFormFieldOpt() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| save() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| restore() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| clippingRectangle() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| clippingEnd() | 
									S  | 
																	83 | 
													1 | 
													3 | 
							
					
				| transform() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getTextPosition() | 
									S  | 
																	64 | 
													1 | 
													8 | 
							
					
				| toUpper() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| openObject() | 
									S  | 
																	65 | 
													1 | 
													9 | 
							
					
				| restoreSerializedObject() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| image_iscached() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| addSvgFromFile() | 
									S  | 
																	62 | 
													1 | 
													10 | 
							
					
				| openHere() | 
									S  | 
																	63 | 
													1 | 
													10 | 
							
					
				| addJavascript() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| addDestination() | 
									S  | 
																	63 | 
													1 | 
													10 | 
							
					
				| addMessage() | 
									S  | 
																	80 | 
													1 | 
													3 |